package process

import (
	"example/pkg/db"
	"example/pkg/logger"
	"example/pkg/message"
)

func NewLogProcess(r logger.Reader,w db.Writer) *LogProcess {
	return &LogProcess{
		Rc:         make(chan string),
		Wc:         make(chan *message.Message),
		Reader:    r,
		Writer: w,
	}
}


